import React from 'react'
import { useNavigate, Outlet } from 'react-router-dom'
import './DashLayout.scss'
export default function DashLayout() {
    const navigate = useNavigate()
  return (
    <div>
      <div className='lcctabarbox'>
        <div className="lcctabar">
          <p className='lcctabar-p1'>数字乡村可视化大屏</p>
        </div>
        <div className='lcctabar2'>
          <p className='lcctabar-p2' onClick={() => navigate('/dashboard/ziqia')}>乡村自洽</p>
          <p className='lcctabar-p2' onClick={() => navigate('/dashboard/dangjian')}>智慧党建</p>
          <p className='lcctabar-p2' onClick={() => navigate('/dashboard/map1')}>乡村安防</p>
        </div>

      </div>
    </div>
  )
}
